package com.example.messagemodule.entity;

import com.google.gson.annotations.SerializedName;

/**
 * Created by SHICHENG
 * <p>
 * Time on
 */
public class ChatGroupPrescriptionStatusBean {


    /**
     * code : 200
     * result : true
     * msg : null
     * data : {"buttonShow":0,"prescriptionId":17345,"externalOrderId":null,"externalOrderNo":null,"prescriptionType":1,"effective":0,"new":true}
     */

    private int code;
    private boolean result;
    private String msg;
    /**
     * buttonShow : 0
     * prescriptionId : 17345
     * externalOrderId : null
     * externalOrderNo : null
     * prescriptionType : 1
     * effective : 0
     * new : true
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int buttonShow;
        private int prescriptionId;
        private String externalOrderId;
        private String externalOrderNo;
        private int prescriptionType;
        private int effective;
        @SerializedName("new")
        private boolean newX;

        public int getButtonShow() {
            return buttonShow;
        }

        public void setButtonShow(int buttonShow) {
            this.buttonShow = buttonShow;
        }

        public int getPrescriptionId() {
            return prescriptionId;
        }

        public void setPrescriptionId(int prescriptionId) {
            this.prescriptionId = prescriptionId;
        }

        public String getExternalOrderId() {
            return externalOrderId;
        }

        public void setExternalOrderId(String externalOrderId) {
            this.externalOrderId = externalOrderId;
        }

        public String getExternalOrderNo() {
            return externalOrderNo;
        }

        public void setExternalOrderNo(String externalOrderNo) {
            this.externalOrderNo = externalOrderNo;
        }

        public int getPrescriptionType() {
            return prescriptionType;
        }

        public void setPrescriptionType(int prescriptionType) {
            this.prescriptionType = prescriptionType;
        }

        public int getEffective() {
            return effective;
        }

        public void setEffective(int effective) {
            this.effective = effective;
        }

        public boolean isNewX() {
            return newX;
        }

        public void setNewX(boolean newX) {
            this.newX = newX;
        }
    }
}
